using DJY.Domain.Entity.WorkFlow;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;

namespace DJY.Domain.ViewModel
{
    
    /// <summary>
    /// 结束上下文
    /// </summary>
    public class WorkFlowAfterEventContext
    {
        /// <summary>
        /// 工作流实例ID
        /// </summary>
        public WFInstanceEntity instance { get; set; }

        /// <summary>
        /// 数据库访问实例
        /// </summary>
        public DbContext dao { get; set; }

        /// <summary>
        /// 流程结束事件
        /// </summary>
        public string after { get; set; }

        /// <summary>
        /// 节点跳过事件
        /// </summary>
        public string skipEvent { get; set; }

        /// <summary>
        /// 跳转节点
        /// </summary>
        public WorkFlowInstanceNode from { get; set; }

        /// <summary>
        /// 当前节点
        /// </summary>
        public WorkFlowNode to { get; set; }

        /// <summary>
        /// 当前操作人
        /// </summary>
        public string userId { get; set; }

    }
}